package org.wordpress.android.comments;

import java.util.Date;

public class Comment {

    public static final int APPROVED = 0;
    public static final int SPAM = 1;
    public static final int REMOVED = 2;
    public static final int PENDING = 3;

    private long id;
    private String author;
    private Date date;
    private String text;
    private int status;

    public Comment() {
        super();
    }

    public Comment(long id, String author, Date date, String text) {
        super();
        this.author = author;
        this.date = date;
        this.text = text;
        this.status = PENDING;
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getAuthor() {
        return this.author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getText() {
        return this.text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Date getDate() {
        return this.date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return this.text;// "Comment [author=" + this.author + ", date=" + this.date + "]";
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
